package com.cxl.service.impl;

import com.cxl.entity.Hotel;
import com.cxl.mapper.HotelMapper;
import com.cxl.service.IHotelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 酒店表 服务实现类
 * </p>
 *
 * @author cuixuelei
 * @since 2022-02-17
 */
@Service
public class HotelServiceImpl extends ServiceImpl<HotelMapper, Hotel> implements IHotelService {

    @Autowired
    private HotelMapper hotelMapper;

    @Override
    public String findByVdo(Hotel hotel) {
        return hotelMapper.findByVdo(hotel);
    }
}
